//
//  DownscalingProtol .h
//  OntheRoadV4
//
//  Created by ranjingfu on 15/12/15.
//  Copyright © 2015年 EricHuang. All rights reserved.
//

#ifndef DownscalingProtol__h
#define DownscalingProtol__h
#import <UIKit/UIKit.h>

@protocol DownscalingProtol <NSObject>

- (CGSize) dimensions;
- (UIImage*) minThumbnail;
- (NSInteger) maxShareImageSizeForOTR;
- (NSInteger) screenThumbnailSizeForOTR;
- (NSInteger) screenMinSizeForOTR;

- (UIImage *) thumbnailWithMaxPixelSize:(NSUInteger)size orientation:(UIImageOrientation)orientation;
- (NSData *) thumbnaiDataWithMaxPixelSize:(NSUInteger)size;

- (BOOL) hasOriginalFile;
- (BOOL) writeAssetFullResolutionImageToFile:(NSString *)filePath;
- (BOOL) writeAssetThumbnailImageToFile:(NSString *)filePath maxSize:(NSInteger)maxSize;
- (id) assetURL;
@end


#endif /* DownscalingProtol__h */
